#include "task_transdebug.h"
#include "bsp.h"
#include "usrconfig.h"
#include "usrlib.h"
TaskHandle_t TaskHandle_TransDebug=NULL;
void Task_TransDebug(void * para)
{
	UART_RXINFO UartRxInfo;
	para=para;
	vTaskDelay(pdMS_TO_TICKS(100));
	GprsStartingUp();
	while(1)
	{
		if(MyUart2.GetOneRxPkg(&UartRxInfo,0)==TRUE)
		{
			UartRxInfo.datap[UartRxInfo.datalen]=0;
			MyUart3.Printf("{%d}%s",UartRxInfo.datalen,UartRxInfo.datap);
			//MyUart3.PrintStrlen(UartRxInfo.datap,UartRxInfo.datalen);
			MyUart2.ReleaseOneRxPkg(&UartRxInfo);
		}
		if(MyUart3.GetOneRxPkg(&UartRxInfo,0)==TRUE)
		{
			LED_SIG=!LED_SIG;
			MyUart2.PrintStrlen(UartRxInfo.datap,UartRxInfo.datalen);
			MyUart3.ReleaseOneRxPkg(&UartRxInfo);
		}
		vTaskDelay(pdMS_TO_TICKS(1));
	}
}









